package com.pcbly.web.bean.chart;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import com.pcbly.web.bean.AbstractBaseBean;

public class ChartBean extends AbstractBaseBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = -3818854726931684773L;
	
	private ChartStyleBean style;
	private String title;
	private ChartStyleTextBean titleStyle;
	private String desc;
	private ChartStyleTextBean descStyle;
	
	private String bgColor;
	private int width;
	private int height;
	private String view;
	
	private ChartAreaBean padding;
	private ChartAreaBean margin;
	private ChartStyleLineBean borderStyle;
	
	private boolean cutlineShow;
	private int cutlineWidth;
	private int cutlinePadding;
	private int cutlineMargin;
	private String cutlineBgcolor;
	private ChartStyleLineBean cutlineBorderStyle;
	private ChartStyleTextBean cutlineTextStyle;
	
	private ChartStyleCoordinateBean coordinateStyle;
	private String coordinatexTitle;
	private ChartStyleTextBean coordinatexTextStyle;
	private String coordinateyTitle;
	private ChartStyleTextBean coordinateyTextStyle;
	
	private ChartStyleTextBean columnTextStyle;
	private  float columnTextRotate;
	private String tag;
	

	public ChartBean() {
		// TODO Auto-generated constructor stub
	}

	
	public ChartStyleCoordinateBean getCoordinateStyle() {
		return coordinateStyle;
	}


	public void setCoordinateStyle(ChartStyleCoordinateBean coordinateStyle) {
		this.coordinateStyle = coordinateStyle;
	}


	public ChartStyleBean getStyle() {
		return style;
	}


	public void setStyle(ChartStyleBean style) {
		this.style = style;
	}


	public String getTitle() {
		return title;
	}


	public void setTitle(String title) {
		this.title = title;
	}


	public ChartStyleTextBean getTitleStyle() {
		return titleStyle;
	}


	public void setTitleStyle(ChartStyleTextBean titleStyle) {
		this.titleStyle = titleStyle;
	}


	public String getDesc() {
		return desc;
	}


	public void setDesc(String desc) {
		this.desc = desc;
	}


	public ChartStyleTextBean getDescStyle() {
		return descStyle;
	}


	public void setDescStyle(ChartStyleTextBean descStyle) {
		this.descStyle = descStyle;
	}


	public String getBgColor() {
		return bgColor;
	}


	public void setBgColor(String bgColor) {
		this.bgColor = bgColor;
	}


	public int getWidth() {
		return width;
	}


	public void setWidth(int width) {
		this.width = width;
	}


	public int getHeight() {
		return height;
	}


	public void setHeight(int height) {
		this.height = height;
	}


	public String getView() {
		return view;
	}


	public void setView(String view) {
		this.view = view;
	}


	public ChartAreaBean getPadding() {
		return padding;
	}


	public void setPadding(ChartAreaBean padding) {
		this.padding = padding;
	}


	public ChartAreaBean getMargin() {
		return margin;
	}


	public void setMargin(ChartAreaBean margin) {
		this.margin = margin;
	}


	public ChartStyleLineBean getBorderStyle() {
		return borderStyle;
	}


	public void setBorderStyle(ChartStyleLineBean borderStyle) {
		this.borderStyle = borderStyle;
	}


	public boolean isCutlineShow() {
		return cutlineShow;
	}


	public void setCutlineShow(boolean cutlineShow) {
		this.cutlineShow = cutlineShow;
	}


	public int getCutlineWidth() {
		return cutlineWidth;
	}


	public void setCutlineWidth(int cutlineWidth) {
		this.cutlineWidth = cutlineWidth;
	}


	public int getCutlinePadding() {
		return cutlinePadding;
	}


	public void setCutlinePadding(int cutlinePadding) {
		this.cutlinePadding = cutlinePadding;
	}


	public int getCutlineMargin() {
		return cutlineMargin;
	}


	public void setCutlineMargin(int cutlineMargin) {
		this.cutlineMargin = cutlineMargin;
	}


	public String getCutlineBgcolor() {
		return cutlineBgcolor;
	}


	public void setCutlineBgcolor(String cutlineBgcolor) {
		this.cutlineBgcolor = cutlineBgcolor;
	}


	public ChartStyleLineBean getCutlineBorderStyle() {
		return cutlineBorderStyle;
	}


	public void setCutlineBorderStyle(ChartStyleLineBean cutlineBorderStyle) {
		this.cutlineBorderStyle = cutlineBorderStyle;
	}


	public ChartStyleTextBean getCutlineTextStyle() {
		return cutlineTextStyle;
	}


	public void setCutlineTextStyle(ChartStyleTextBean cutlineTextStyle) {
		this.cutlineTextStyle = cutlineTextStyle;
	}


	public String getCoordinatexTitle() {
		return coordinatexTitle;
	}


	public void setCoordinatexTitle(String coordinatexTitle) {
		this.coordinatexTitle = coordinatexTitle;
	}


	public ChartStyleTextBean getCoordinatexTextStyle() {
		return coordinatexTextStyle;
	}


	public void setCoordinatexTextStyle(ChartStyleTextBean coordinatexTextStyle) {
		this.coordinatexTextStyle = coordinatexTextStyle;
	}


	public String getCoordinateyTitle() {
		return coordinateyTitle;
	}


	public void setCoordinateyTitle(String coordinateyTitle) {
		this.coordinateyTitle = coordinateyTitle;
	}


	public ChartStyleTextBean getCoordinateyTextStyle() {
		return coordinateyTextStyle;
	}


	public void setCoordinateyTextStyle(ChartStyleTextBean coordinateyTextStyle) {
		this.coordinateyTextStyle = coordinateyTextStyle;
	}


	public ChartStyleTextBean getColumnTextStyle() {
		return columnTextStyle;
	}


	public void setColumnTextStyle(ChartStyleTextBean columnTextStyle) {
		this.columnTextStyle = columnTextStyle;
	}


	public float getColumnTextRotate() {
		return columnTextRotate;
	}


	public void setColumnTextRotate(float columnTextRotate) {
		this.columnTextRotate = columnTextRotate;
	}


	public String getTag() {
		return tag;
	}


	public void setTag(String tag) {
		this.tag = tag;
	}


	/**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		return EqualsBuilder.reflectionEquals(this, object);
	}

	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return HashCodeBuilder.reflectionHashCode(this);
	}

	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}

}
